/* pages/privacy-agreement/index.less */
.privacy-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding-bottom: 120px;
}

.content-wrapper {
  padding: 20px;
  margin: 0 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header {
  text-align: center;
  padding: 20px 0 30px 0;
  border-bottom: 1px solid rgba(102, 126, 234, 0.1);
  margin-bottom: 30px;

  .app-icon {
    font-size: 40px;
    margin-bottom: 8px;
  }

  .app-name {
    font-size: 24px;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 8px;
  }

  .agreement-title {
    font-size: 18px;
    color: #667eea;
    font-weight: 600;
  }
}

.section {
  margin-bottom: 30px;

  .section-title {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 8px;
    border-left: 4px solid #667eea;
  }
}

.clause {
  display: flex;
  margin-bottom: 16px;
  line-height: 1.6;

  .clause-number {
    font-weight: 600;
    color: #667eea;
    min-width: 24px;
    font-size: 16px;
  }

  .clause-text {
    flex: 1;
    color: #4a5568;
    font-size: 15px;
    margin-left: 8px;
  }
}

.sub-items {
  flex: 1;
  margin-left: 8px;
  margin-top: 8px;

  .sub-item {
    color: #718096;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 6px;
    padding-left: 16px;
  }
}

.footer {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(102, 126, 234, 0.1);
  margin-top: 30px;

  .update-time {
    font-size: 14px;
    color: #718096;
    margin-bottom: 12px;
  }

  .thanks {
    font-size: 16px;
    color: #667eea;
    font-weight: 600;
    font-style: italic;
  }
}

.bottom-actions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px;
  display: flex;
  gap: 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);

  .action-btn {
    flex: 1;
    text-align: center;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;

    &.understand {
      background: rgba(102, 126, 234, 0.1);
      color: #667eea;
      border: 2px solid rgba(102, 126, 234, 0.3);

      &:active {
        background: rgba(102, 126, 234, 0.2);
        transform: scale(0.98);
      }
    }

    &.agree {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);

      &:active {
        transform: scale(0.98);
        box-shadow: 0 2px 10px rgba(102, 126, 234, 0.4);
      }
    }
  }
}

/* 响应式调整 */
@media (max-width: 375px) {
  .content-wrapper {
    margin: 0 16px;
    padding: 16px;
  }

  .header {
    padding: 16px 0 24px 0;
    
    .app-icon {
      font-size: 32px;
    }

    .app-name {
      font-size: 20px;
    }

    .agreement-title {
      font-size: 16px;
    }
  }

  .section .section-title {
    font-size: 16px;
    padding: 10px 12px;
  }

  .clause {
    .clause-text {
      font-size: 14px;
    }
  }

  .sub-items .sub-item {
    font-size: 13px;
  }

  .bottom-actions {
    padding: 16px;
    gap: 12px;

    .action-btn {
      padding: 14px 20px;
      font-size: 15px;
    }
  }
}
